﻿@using System.Collections
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@{
    Layout = "umbLayout.cshtml";
}

<div class="container">
    <div class="row">
        <div class="col-md-3 well">
            <h1>Bólkar undir @CurrentPage.Name</h1>
        </div>
        <div class="col-md-6">
            <div class="panel panel-primary">
                <div class="panel-heading">
                    <h3 class="panel-title">@CurrentPage.Name</h3>

                </div>
                <div class="panel-body">
                    <ul class="list-group">
                        @foreach (var band in Model.Content.Children.OrderBy(x => x.Name))
                        {
                            <li class="list-group-item">

                                <a href="@band.Url">
                                    @band.Name <span class="badge pull-right">@band.Children().Count()</span>
                                </a>
                            </li>
                        }

                    </ul>
                </div>
            </div>
        </div>
        <div class="col-md-3 well">
            @Html.Partial("bandsAlfabet")
        </div>
    </div>
</div>